package com.hu.zhcc.shiro.controller.xsx;


import com.hu.zhcc.shiro.entity.xsx.XsxTMemberMedicalhistory;
import com.hu.zhcc.shiro.service.xsx.TMemberMedicalhistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * <p>
 * 会员病史表 前端控制器
 * </p>
 *
 * @author xsx
 * @since 2021-06-19
 */
@RestController
@RequestMapping("/tMemberMedicalhistory")
public class TMemberMedicalhistoryController {
    @Autowired
    TMemberMedicalhistoryService tMemberMedicalhistoryService;

    @PostMapping("/{hyid}")
    private XsxTMemberMedicalhistory getBsByHyid(@PathVariable("hyid") Integer hyid){
        return tMemberMedicalhistoryService.getBsByHyid(hyid);
    }


}

